﻿using Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IBLL
{
    public interface IStoreBLL
    {
        /// <summary>
        /// 新增门店
        /// </summary>
        /// <param name="store">门店表</param>
        /// <returns>受影响行数</returns>
        Task<int> AddStore(Store store);
        /// <summary>
        /// 显示+条件查询
        /// </summary>
        /// <param name="aid">地区id</param>
        /// <param name="time">成立时间</param>
        /// <param name="start">状态</param>
        /// <param name="name">店长名称</param>
        /// <returns>根据条件查询返回对应的数据</returns>
        dynamic ShowStore(int aid, DateTime? time, int start, string? name = "");
    }
}
